<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../js/vue.js"></script>
    <script type="text/javascript " src="../jquery-3.3.1/jquery-3.3.1.js"></script>
</head>
<body>
<div id="app">
    <ul v-for="sem in sems">
        <li v-for="(value,key) in sem">{{value}}</li>
    </ul>
    <table border="1px" cellspacing="1px" cellpadding="">
        <tr>
            <td>姓名</td>
            <td>年龄</td>
            <td>性别</td>
        </tr>
        <tr v-for="sem in sems">
            <td v-for = "(value,key) in sem">{{value}}</td>
        </tr>
    </table>
</div>

</body>
</html>
<script type="text/javascript">
    var cdata  = null;
    $.ajax({
        url:"../json/data1.json",
        type:"get",
        data:"",
        dataType:"json",
        async:false,
        success:function(data){
            cdata = data
            // alert(data)

        },
        error:function(){
            // alert("连接失败")
        }
    });
    var vm = new Vue({
        el:"#app",
        data:{
            sems:cdata
        }
    })
</script>